<?php

class UndeadStudents_Forms_Search extends Zend_Form {

    public function init() {
        
        $this->setAction('/index/search')
                ->setMethod('post');

        $searchField = $this->createElement('text', 'search', array('label' => 'Busca: '));
        $this->addElement($searchField);       
        
        $searchSubmit = $this->createElement('submit', 'searchSubmit', array('label' => 'Buscar'));
        $this->addElement($searchSubmit);        
    }

}